package top.xchch.creational.builder;

/**
 * 具体的建造者
 */
public class HighBuilding extends BaseBuilder {
    @Override
    protected void buildBasic() {
        house.setBasic("50米的地基");
        System.out.println("高楼打基地50米");
    }

    @Override
    protected void buildWalls() {
        house.setWall("200米的墙");
        System.out.println("高楼砌墙200米");
    }

    @Override
    protected void roofed() {
        house.setRoofed("屋顶是钢化玻璃");
        System.out.println("高楼的屋顶是钢化玻璃");
    }
}
